import http from "@/utils/http";
export const login = (obj: RegisterParams) => {
    return http.post("/user/login",
      {
        password: obj.password,
        phone: obj.phone
      }
        // username: obj.username,
    //   email: obj.email,邮箱
    //   phone_number: obj.phone_number,手机号
    //   captcha: obj.captcha验证码
    )
  }